package com.ysxsoft.wdg.bean.zy;

import com.ysxsoft.wdg.bean.AddressBean;
import com.ysxsoft.wdg.bean.cart.ShopcartBean;
import java.util.ArrayList;
import java.util.List;

public class ZyOrderDetailBean {

    private String yu;
    private String score;
    private String yun;
    private String mobile;
    private AddressBean address;
    private List<ShopcartBean> detail;
    private OrderBean order;


    public String getMobile() {
        return mobile == null ? "" : mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getYu() {
        return yu == null ? "" : yu;
    }

    public void setYu(String yu) {
        this.yu = yu;
    }

    public String getScore() {
        return score == null ? "" : score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getYun() {
        return yun == null ? "" : yun;
    }

    public void setYun(String yun) {
        this.yun = yun;
    }

    public AddressBean getAddress() {
        return address;
    }

    public void setAddress(AddressBean address) {
        this.address = address;
    }

    public List<ShopcartBean> getDetail() {
        if (detail == null) {
            return new ArrayList<>();
        }
        return detail;
    }

    public void setDetail(List<ShopcartBean> detail) {
        this.detail = detail;
    }

    public OrderBean getOrder() {
        return order;
    }

    public void setOrder(OrderBean order) {
        this.order = order;
    }

    public static class OrderBean {
        /**
         * id : 275
         * dsn : 20181113153716542694
         * uid : 783
         * account : 1398.00
         * status : 未付款
         * paytime : 2018-11-13 15:37:18
         * fa_time :
         * finish_time :
         * paytype : 2
         * addressid : 110
         * addtime : 2018-11-13 15:37:16
         * payorder : ye_20181113153718790985
         * yun : 0.00
         * type : 0
         * companyid : 0
         * istuan : 0
         * tuanid : 0
         * kan_price : 0.00
         * endtime : 0
         * need_num : 0
         * orderid : 275
         * o_status : 0
         */

        private String id;
        private String dsn;
        private String uid;
        private String account;
        private String status;
        private String paytime;
        private String fa_time;
        private String finish_time;
        private int paytype;
        private int addressid;
        private String addtime;
        private String payorder;
        private int type;
        private String companyid;
        private int istuan;
        private String tuanid;
        private String kan_price;
        private String endtime;
        private String need_num;
        private String orderid;
        private int o_status;

        private String kd_no;
        private String kd_type;
        private String discuss;

        public String getDiscuss() {
            return discuss == null ? "" : discuss;
        }

        public void setDiscuss(String discuss) {
            this.discuss = discuss;
        }

        public String getKd_no() {
            return kd_no == null ? "" : kd_no;
        }

        public void setKd_no(String kd_no) {
            this.kd_no = kd_no;
        }

        public String getKd_type() {
            return kd_type == null ? "" : kd_type;
        }

        public void setKd_type(String kd_type) {
            this.kd_type = kd_type;
        }

        public String getId() {
            return id == null ? "" : id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getDsn() {
            return dsn == null ? "" : dsn;
        }

        public void setDsn(String dsn) {
            this.dsn = dsn;
        }

        public String getUid() {
            return uid == null ? "" : uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getAccount() {
            return account == null ? "" : account;
        }

        public void setAccount(String account) {
            this.account = account;
        }

        public String getStatus() {
            return status == null ? "" : status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getPaytime() {
            return paytime == null ? "" : paytime;
        }

        public void setPaytime(String paytime) {
            this.paytime = paytime;
        }

        public String getFa_time() {
            return fa_time == null ? "" : fa_time;
        }

        public void setFa_time(String fa_time) {
            this.fa_time = fa_time;
        }

        public String getFinish_time() {
            return finish_time == null ? "" : finish_time;
        }

        public void setFinish_time(String finish_time) {
            this.finish_time = finish_time;
        }

        public int getPaytype() {
            return paytype;
        }

        public void setPaytype(int paytype) {
            this.paytype = paytype;
        }

        public int getAddressid() {
            return addressid;
        }

        public void setAddressid(int addressid) {
            this.addressid = addressid;
        }

        public String getAddtime() {
            return addtime == null ? "" : addtime;
        }

        public void setAddtime(String addtime) {
            this.addtime = addtime;
        }

        public String getPayorder() {
            return payorder == null ? "" : payorder;
        }

        public void setPayorder(String payorder) {
            this.payorder = payorder;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getCompanyid() {
            return companyid == null ? "" : companyid;
        }

        public void setCompanyid(String companyid) {
            this.companyid = companyid;
        }

        public int getIstuan() {
            return istuan;
        }

        public void setIstuan(int istuan) {
            this.istuan = istuan;
        }

        public String getTuanid() {
            return tuanid == null ? "" : tuanid;
        }

        public void setTuanid(String tuanid) {
            this.tuanid = tuanid;
        }

        public String getKan_price() {
            return kan_price == null ? "" : kan_price;
        }

        public void setKan_price(String kan_price) {
            this.kan_price = kan_price;
        }

        public String getEndtime() {
            return endtime == null ? "" : endtime;
        }

        public void setEndtime(String endtime) {
            this.endtime = endtime;
        }

        public String getNeed_num() {
            return need_num == null ? "" : need_num;
        }

        public void setNeed_num(String need_num) {
            this.need_num = need_num;
        }

        public String getOrderid() {
            return orderid == null ? "" : orderid;
        }

        public void setOrderid(String orderid) {
            this.orderid = orderid;
        }

        public int getO_status() {
            return o_status;
        }

        public void setO_status(int o_status) {
            this.o_status = o_status;
        }
    }
}
